Add CommandOrControl + Plus hotkey for zoomIn without SHIFT#77
Merged
nickvergessen merged 2 commits intomainfrom Mar 24, 2023
Merged
Add CommandOrControl + Plus hotkey for zoomIn without SHIFT#77nickvergessen merged 2 commits intomainfrom
nickvergessen merged 2 commits intomainfrom
Conversation
Fix: #74 Signed-off-by: Grigorii Shartsev <grigorii.shartsev@nextcloud.com>
Member
|
|
nickvergessen
approved these changes
Mar 24, 2023
Member
nickvergessen
left a comment
There was a problem hiding this comment.
Approving as it's already making it much more discoverable
Signed-off-by: Grigorii Shartsev <grigorii.shartsev@nextcloud.com>
Contributor
Author
Not in this way, but it is easily addable. Fixed. |
nickvergessen
approved these changes
Mar 24, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
☑️ Resolves
🚧 Tasks
By default an Electron application has "CommandOrControl + Plus" hotkey for zooming in. It is not very intuitive, that without SHIFT pressing "CommandOrControl + Plus" actually works as "CommandOrControl + =".
Adding invisible menu item to add hotkey alias may look wierd. But it seems to be a common practice to solve this problem in Electron applicatoin in a simple and reliable way.
Also, it was possible to change the hotkey in the existed menu item, but it would change displayed hotkey. This solution keeps displaying original hotkey in menu while both hotkeys works exactly the same.